package com.sinosoft.tcmemr.dao;

import com.sinosoft.tcmemr.entity.DiagnoseEntity;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DiagnoseEntityMapper {
    int countByExample(DiagnoseEntity example);

    int deleteByExample(DiagnoseEntity example);

    int deleteByPrimaryKey(Integer id);

    int insert(DiagnoseEntity record);
    
    /**
     * 插入诊断信息
     * @param diagnose
     * @return
     */
    public int insertSelective(DiagnoseEntity diagnose);

    List<DiagnoseEntity> selectByExample(DiagnoseEntity example);

    DiagnoseEntity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DiagnoseEntity record, @Param("example") DiagnoseEntity example);

    int updateByExample(@Param("record") DiagnoseEntity record, @Param("example") DiagnoseEntity example);

    int updateByPrimaryKeySelective(DiagnoseEntity record);

    int updateByPrimaryKey(DiagnoseEntity record);
}